package com.neusoft.elmboot.service;

import com.neusoft.elmboot.po.DailyTotal;
import com.neusoft.elmboot.po.Orders;

import java.math.BigDecimal;
import java.util.List;

public interface OrdersService {
	
	public int createOrders(Orders orders);
	
	public Orders getOrdersById(Integer orderId);

	public List<Orders> listOrdersByUserId(String userId);
	
	public int turnOrderState(Integer orderId);
	
	public List<Orders> listPaidOrdersByUserId(String userId);
	
	public int updateAddMark(Integer orderId,Integer addMark);

	public List<DailyTotal> listWeeklyTotalById(String userId);
	public List<DailyTotal> listMonthlyTotalById(String userId);
}
